package com.jwds.digital.bios.business.core.infrastructure.dto.basic;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * 
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@ApiModel(value="BasicMaterial请求对象")
public class BasicMaterialReqDTO {

  @ApiModelProperty(value = "主键ID")
  private Long id;

  @ApiModelProperty(value = "大类编码")
  private String categoryCode;


  @ApiModelProperty(value = "大类名称")
  private String categoryName;


  @ApiModelProperty(value = "中类编码")
  private String middleCode;


  @ApiModelProperty(value = "中类名称")
  private String middleName;


  @ApiModelProperty(value = "小类编码")
  private String leafCode;


  @ApiModelProperty(value = "小类名称")
  private String leafName;


  @ApiModelProperty(value = "物料编码")
  private String materialCode;


  @ApiModelProperty(value = "物料名称")
  private String materialName;


  @ApiModelProperty(value = "关联物料名称")
  private String relMaterialCode;


  @ApiModelProperty(value = "关联物料编码")
  private String relMaterialName;


  @ApiModelProperty(value = "安全库存")
  private BigDecimal safeInventory;


  @ApiModelProperty(value = "是否料场物料:1-是  0-否")
  private Integer isBelongYard;


  @ApiModelProperty(value = "是否直供:1-是  0-否")
  private Integer isDirectSupply;


  @ApiModelProperty(value = "物料实际重量")
  private BigDecimal factWeight;


  @ApiModelProperty(value = "物料理论重量")
  private BigDecimal theoryWeight;


  @ApiModelProperty(value = "物料平均密度")
  private BigDecimal density;


  @ApiModelProperty(value = "物料账面库存")
  private BigDecimal bookInventory;


  @ApiModelProperty(value = "计算次数")
  private BigDecimal calculateNum;


  @ApiModelProperty(value = "可存料堆/产线")
  private String productionLine;


  @ApiModelProperty(value = "可卸料仓")
  private String stockBin;


  @ApiModelProperty(value = "安全库存周期")
  private String safeCycle;


  @ApiModelProperty(value = "日预计消耗量")
  private BigDecimal dayConsumption;


  @ApiModelProperty(value = "车辆循环数")
  private Integer carCycleNum;


  @ApiModelProperty(value = "计量单位")
  private String unit;


  @ApiModelProperty(value = "创建人")
  private String createUser;


  @ApiModelProperty(value = "创建时间")
  private LocalDateTime createTime;


  @ApiModelProperty(value = "修改人")
  private String modifyUser;


  @ApiModelProperty(value = "修改时间")
  private LocalDateTime modifyTime;


  private Integer isDeleted;

  /***********扩展字段***************/

}
